import random
ls = [random.randint(1, 100) for i in range(20)]
print(ls)
for i in range(19, -1, -1):
    if ls[i] % 3 == 0:
        del ls[i]
ls.sort(reverse=True)
print(ls)
